From: Karl Heuer Date: Thu, 12 May 1994 16:19:01 +0000 (+0000) Subject: (display_text_line): Fix check for end of buffer. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~91589 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=d6f08da40f6c98991c772bc28cad12117cc81fc8;p=emacs.git (display_text_line): Fix check for end of buffer. --- diff --git a/src/xdisp.c b/src/xdisp.c index eb3e78a031f..18ae7e86dfc 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -2170,7 +2170,7 @@ display_text_line (w, start, vpos, hpos, taboffset) else if (c == '\n') { invis = 0; - while (pos < end + while (pos + 1 < end && selective > 0 && indented_beyond_p (pos + 1, selective)) {